package com.hunan.api.catv.service.impl.account;

import com.hunan.api.catv.dao.BaseDao;
import com.hunan.api.catv.dao.account.MemberWithdrawRecordMapper;
import com.hunan.api.catv.entity.po.MemberWithdrawRecord;
import com.hunan.api.catv.entity.vo.MemberWithdrawRecordVo;
import com.hunan.api.catv.service.impl.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: wangchao
 * @Date: 2020/10/27 9:21
 */
@Service
public class AccountWithdrawService extends CommonService<MemberWithdrawRecord, MemberWithdrawRecordVo, Integer> {

    @Autowired
    MemberWithdrawRecordMapper memberWithdrawRecordMapper;

    @Override
    public BaseDao<MemberWithdrawRecord, MemberWithdrawRecordVo, Integer> getBaseDao() {
        return memberWithdrawRecordMapper;
    }

    public List<MemberWithdrawRecordVo> getMemberWithdrawList(MemberWithdrawRecordVo memberWithdrawRecordVo) {
        return memberWithdrawRecordMapper.getMemberWithdrawList(memberWithdrawRecordVo);
    }
}
